Simply_Static\Util B

Total Complexity 76
Dependencies 2
Dependents 28
Total lines 620
Lines of code 274
Logical lines of code 144
Comment lines 253
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
relative_to_absolute_url()
A
45 14 38
url_path_info()
S
51 5 29
debug_log()
S
54 4 20
get_debug_log_filename()
S
56 4 16
create_offline_path()
S
59 4 12
is_local_asset_url()
S
54 3 22
is_cron()
S
68 4 7
add_archive_status_message()
S
63 2 11
truncate()
S
76 2 3
trailingslashit_unless_blank()
S
78 2 3
combine_path()
S
62 2 10
normalize_slashes()
S
77 2 3
get_contents_from_object()
S
65 2 10
selected_if()
S
78 2 3
checked_if()
S
78 2 3
clear_debug_log()
S
70 2 6
remove_leading_slash()
S
79 1 3
add_leading_slash()
S
79 1 3
remove_leading_directory_separator()
S
79 1 3
add_leading_directory_separator()
S
79 1 3
remove_trailing_directory_separator()
S
79 1 3
add_trailing_directory_separator()
S
78 1 3
abs_path_to_url()
S
67 1 8
origin_scheme()
S
75 1 4
formatted_datetime()
S
80 1 3
strip_index_filenames_from_url()
S
75 1 4
strip_protocol_from_url()
S
75 1 4
string_to_array()
S
70 1 6
remove_params_and_fragment()
S
78 1 3
origin_host()
S
79 1 3
is_local_url()
S
77 1 3
is_valid_scheme()
S
68 1 7
error_log()
S
75 1 4
wp_installation_url()
S
80 1 3
origin_url()
S
78 1 3
get_path_from_local_url()
S
72 1 5